package top.lidee.common.service.twice.applet.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import top.lidee.common.service.twice.applet.OmsOrderService;
import top.lidee.framework.result.PageUtils;
import top.lidee.module.backendApi.twice.page.Query;
import top.lidee.repository.mapper.twice.applet.OmsOrderMapper;
import top.lidee.repository.model.twice.pojo.applet.OmsOrderEntity;


@Service("omsOrderService")
public class OmsOrderServiceImpl extends ServiceImpl<OmsOrderMapper, OmsOrderEntity> implements OmsOrderService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OmsOrderEntity> page = this.page(
                new Query<OmsOrderEntity>().getPage(params),
                new QueryWrapper<OmsOrderEntity>()
        );

        return new PageUtils(page);
    }

}